package com.sbtr.business.classify.dto;

import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.sbtr.common.PageParams;
import io.swagger.annotations.ApiModel;


/**
 * 轻量化算法模板字段列表 实体类
 *
 * @author dgl
 * @since 2023-12-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="AlgoTemplateFileDto对象")
public class AlgoTemplateFileDto extends PageParams {

    private Long id;

    @ApiModelProperty(value = "算法名称")
    private String algoName;

    @ApiModelProperty(value = "算法编号")
    private String algoCode;

    @ApiModelProperty(value = "算法语言")
    private String language;

    @ApiModelProperty(value = "类型,1诊断，2预测")
    private Integer type;

    @ApiModelProperty(value = "实现功能")
    private String purpose;

    @ApiModelProperty(value = "所属项目ID")
    private Long iteminfoId;

    @ApiModelProperty(value = "创建人")
    private String creater;

    @ApiModelProperty(value = "总下载次数")
    private Integer counts;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")// 后台传数据到前台
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") //前台传数据到后台
    private Date createTime;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "测试文件目录")
    private String testFile;

    @ApiModelProperty(value = "模型编号")
    private String modelCode;

    @ApiModelProperty(value = "临时文件")
    private String tempFile;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "算法类型")
    private String algoType;

    @ApiModelProperty(value = "算法原理")
    private String algoTheory;

    @ApiModelProperty(value = "结果说明")
    private String resultDesc;

    @ApiModelProperty(value = "测试文件名")
    private String testFileName;
}
